//
//  BVErrorView.h
//  BVUIBizKit
//
//  Created by xiute on 2019/11/12.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, BVErrorViewType) {
    BVErrorViewTypeHome,
    BVErrorViewTypePlayground,
    BVErrorViewTypeFavorite,
    BVErrorViewTypePersonal,
    BVErrorViewTypeNoData,
};


@interface BVErrorView : UIView


+ (BVErrorView *)showWithType:(BVErrorViewType)type
                       inView:(UIView *)aView
                   retryBlock:(dispatch_block_t)retryBlock;

@end

NS_ASSUME_NONNULL_END
